package com.java.basis.mathpackage;

import org.junit.Test;

import java.math.BigInteger;

/**
 * @author wangning
 * @create 2022-04-22 15:37
 */
public class BigIntegerTest {
	@Test
	public void test01() {
		BigInteger ten = BigInteger.TEN;
		BigInteger bigInteger01 = new BigInteger("11111");
		BigInteger bigInteger02 = new BigInteger("22222");
		System.out.println(bigInteger01.add(bigInteger02));

		System.out.println(bigInteger01.and(bigInteger02));
	}
}
